package cn.interestingshop.service.classify;

import cn.interestingshop.entity.Classify;
import cn.interestingshop.entity.Goods;
import cn.interestingshop.utils.ClassifyVo;

import java.util.List;

public interface ClassifyService {

    List<ClassifyVo> selectAll();

    List<Classify> selectAllon(Integer currentPageNo, Integer pageSize);

    int selectAllCount();

    int deleteById(int id);

    Classify selectOne(int id);

    List<Classify> selectOneType(int type);

    public int update(int id, String classifyName, int classifyLevel1, int classifyLevel2);
    int insert(int type,String classifyName,int classifyLevel1,int classifyLevel2);



}
